package com.cf.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cf.domain.pojo.Team;
import com.cf.domain.pojo.TeamMember;

import java.util.List;

public interface ITeamMemberService extends IService<TeamMember> {

    List<TeamMember> listByTeamId(Long teamId);

    List<TeamMember> listByUserId(Long userId);

    int updateTeamMember(TeamMember teamMember);

    int deleteTeamMemberByTeamId(Long teamId);
}
